#pragma once

#include "apdu.h"
#include "apdu_mgr_base.h"

class apdu_digest_manager : public apdu_mgr_base
{
public:
	apdu_digest_manager(void);
	~apdu_digest_manager(void);

public:
	apdu * create_apdu_digest_init(int hash_algo, unsigned char * sm2_pub_key_blob, int pub_key_blob_len, 
									unsigned char * user_id, int id_len, int display);

    apdu * create_apdu_digest(unsigned char * input, int input_len);

	apdu * create_apdu_digest_update(unsigned char * input, int input_len, int display);

	apdu * create_apdu_digest_final(unsigned char * input, int input_len);

	apdu * create_apdu_digest_file(int app_id, int offset, int read_len, char * file_name);
	
	
private:

};
